package com.java.xiaoBao;

import java.util.Stack;

/**
 * 1号迷宫的完成路径
 */
public class MiGongTest{

    public static void main(String[] args){

        System.out.println("-----------------1号迷宫从入口到出口的路径如下-----------------");
        AcrossMiGong acrossMiGong  = new AcrossMiGong();
        Stack<Node> nodes = acrossMiGong.acrossMiGong();
        for (Node node : nodes) {
            System.out.println(node);
        }

        System.out.println("---------------------找到出口啦-----------------------------");
    }
}






